﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2019
// 文件： TrailCommentEntity.cs
// 项目名称：斑马车务
// 创建时间：2019-07-31
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
    /// <summary>
    ///评论-留言数据实体  
    /// </summary>
    [PrimaryKey("TrailCommentID")]
    public class TrailComment
    {
        ///<summary>
        ///评论-留言
        ///</summary>
        public TrailComment()
        {
        }


        ///<summary>
        ///主键
        ///</summary>
        [Column("TrailCommentID", "主键")]
        public int TrailCommentID { get; set; }

        ///<summary>
        ///评论内容
        ///</summary>
        [Column("Comment", "评论内容")]
        public string Comment { get; set; }

        ///<summary>
        ///轨迹ID
        ///</summary>
        [Column("WeChartTrailID", "轨迹ID")]
        public int WeChartTrailID { get; set; }
        /// <summary>
        /// 浏览标识(违章ID,问题ID,名片ID等)
        /// </summary>
        [Column("TrailIdentity", "浏览标识(违章ID,问题ID,名片ID等)")]
        public int TrailIdentity { get; set; }

        ///<summary>
        ///用户ID
        ///</summary>
        [Column("UserID", "用户ID")]
        public int UserID { get; set; }
        /// <summary>
        /// openid
        /// </summary>
        [Column("OpenID", "openid")]
        public string OpenID { get; set; }
        /// <summary>
        /// UnionID
        /// </summary>
        [Column("UnionID", "UnionID")]
        public string UnionID { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [Column("CreateDate", "CreateDate")]
        public DateTime CreateDate { get; set; }
        /// <summary>
        /// 是否展示
        /// </summary>
        [Column("IsShow", "IsShow")]
        public int IsShow { get; set; }
    }
}